// src/App.js  
import React from 'react';  
// import Shou from "./component/shou/Shou";
import routes from './router/index'
import { useRoutes } from 'react-router-dom'


function App() {
  let element=useRoutes(routes)
  return (  
    <div className="App">  
      <header className="App-header">  
        { element }
      </header>  
    </div>  
  );  
}  
  
export default App;